export const check = {
    mobile(mobile) {
        return /^[1][3,4,5,6,7,8,9][0-9]{9}$/.test(mobile);
    },
    length(str, minLength, maxLength) {
        let length = str.length;
        return length < minLength || length > maxLength ? false : true;
    }

};